(Read this document using SimpleText and Times Font.)
1. What is Tabler?
Tabler is a utility that makes table tag of the HTML documents. It converts text data in the clipboard and you can make table just by pasting it.
There are a lot of utilities for making tables but the main aim of Tabler is to make HTML tables from spread sheet data. Hence it does not support complex page layout.
Tablerユs conversion rule is quite simple. It replace tabs or commas to tag marks like this:
You will see this text using your browser like this:
Fig. 1
ハ
Tabler does not specify any sizes of tables. You can add any values as you like.
2. Contents of this Tabler Package
There are application version and FKEY version of Tabler. Use either one as you like.
This package also includes Tabler source code. Check it out if you are interested in, though it is rather a forcible and messy one.
3. How to use Tabler.Appハ
3.1. Double-click
Launch Tabler.App by double-clicking. It then convert the clipboard data into HTML tags. It does not touch any other data than TEXT.
For instance, when you want to show some data of a spreadsheet such as Microsoftィ Excel, select cells you want make a table, copy them into the clipboard and launch Tabler.App and paste the converted data into a HTML document. Then you will see an HTML table.
3.2. Drag and drop a text file
Drag and drop a text file onto Tabler.App. It then reads the content text and put it into the clipboard. Note that it converts whole the text in the file.
3.3. Drag and drop a text clipping file
Some of the text editors allow you to drag and drop text. When you drag a text and drop it onto the Finder, a clipping file will be made. Drag and drop this clipping file onto Tabler.App. It then reads the content text and put into the clipboard.
This function requires System 7.1.1 (System 7 Pro) or later, Macintosh Drag and Drop and Clipping Extension.
4. How to use Tabler.FKEYハ
4.1. What is KEY?
Unless you are a Macintosh user from the ancient, you may not know FKEY. It is a kind of code resource, which works when you press command, shift and number key. Tabler is called when you press the 7 key in default. You can change the number by a procedure written in below.
4.2. How to install Tabler.FKEY
Place the Tabler.FKEY in the Font Folder in the System Folder. When you put it, Finder may warn you off that it will not be able to run. Just press then OK and restart your Macintosh for safety.
4.3. How to use Tabler.FKEY
When you deal with an HTML document using a text editor, write a source data likely the sample above, select the text and copy it into the clipboard. Press command + shift + 7 at this time and make the Tabler.FKEY convert the clipboard contents. Paste it and the converted data will appear. When you convert data from a spreadsheet data, you can also copy cells and call Tabler.FEY and paste the data.
Notice:
Some text editor might not use the system clipboard but its own local clipboard. In such case, Tabler.FKEY wonユt work expectedly. Sorry.
4.4. How to change the calling number of Tabler.FKEY
You need some resource editor such as ResEdit to change the calling number of Tabler.FKEY. You you are not sure in editing resources, ask your friend who are expert on this kind of stuff.
It is quite easy, however. Opening a Tabler.FKEY and then open again a resource type named FKEY. You will see a resource ID, which is the calling number. Opening the resource info window by selecting the メGet Info...モ item of Resource menu or pressing command + I, change the ID to a new number. Avoid using 0 thru 3 since they are reserved by the System. Use 4 thru 9 instead.
5. Conversion Method
Tabler is not a clever program. It forcibly replaces commas, tabs and carriage returns into tags.
The ruse is:
Place <table border cellpadding cellspacing width> at the beginning, </table> at the end, <tr><td> and </td></tr> for each of lines and </tr><td> for each of commas or tabs. Thatユs all.
The delimiter of cell is one of those of a tab, comma + space or a comma. Search and replace will be done in this order. If Tabler find a tab at first, it then treats tabs as the delimiter and ignores commas. I decided this spec in order to convert spreadsheet cells to tags.
Tabler ignores multi-bytes code commas and spaces. It recognize only CRs as line breaks and leaves LFs. It can handle only the SJIS Kanji code. It may possibly fail in other codes.
6. About Source Code
This package includes the Tabler source code suite. I wrote it using the Metrowerks CodeWarrior 10. I commit it if you want to upgrade the Tabler.
7. Required Environment
Tabler.App is a 68K application. I think may work on any Macintoshes with System 7 or greater. I havenユt checked it well.
Tabler.FKEY is a 68K code resource. It may run in the same environments as the Tabler.App. Since the FKEY uses the current applicationユs memory, you have to keep a plenty of memory space in the application when you deal with a big size of text data. The needed size will vary according to the target data.
8. Terms and Conditions of Usage
Tabler is freeware. You can use it and copy it unless for non-commercial purposes. Even for commercial usages,
the author will give you a permission if you ask the author for it.
Tabler is distributed on メas-isモ basis. The author is not responsible to any problems using the Tabler.
9. Contact Address
Send mail to the following address.
E-Mail Address:
rokkaku@inetc.roland.co.jp
PXL01437@niftyserve.or.jp
Snail-Mail:
Fumio Rokkaku
1158-3-106, Hatsuoi-cho,
Hamamatsu, Shizuoka
Japan Postal Code: 433
Also, visit my home page:
<http://www.inetc.roland.co.jp/~rokkaku/>
My other freeware products are avaiable from this page.
10. Revisor History
Version 0.9.1: November 2, 1996
The second release for minor updates.
Removed unnecessary BNDL related resources in Tabler.FKEY.
Update a project file to CodeWarriror 10 IDE.
Version 0.9: June 23, 1996
The first beta release.
11. Copyright Notice
Copyright (C) 1996, Fumio Rokkaku, All Rights Reserved.